import 'package:flutter/material.dart';

class DBJMallPage extends StatefulWidget {
  const DBJMallPage({Key? key}) : super(key: key);

  @override
  _DBJMallPageState createState() => _DBJMallPageState();
}

class _DBJMallPageState extends State<DBJMallPage> with AutomaticKeepAliveClientMixin {
  @override
  void initState() {
    // TODO: implement initState
    super.initState();
    print('_DBJMallPageState --- init');
  }

  @override
  Widget build(BuildContext context) {
    print('_DBJMallPageState --- build');
    return Scaffold(
      backgroundColor: Colors.red,
      body: Text('page 1'),
    );
  }

  @override
  // TODO: implement wantKeepAlive
  bool get wantKeepAlive => true;
}
